package com.jier.entities;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 系统日志
 *
 * @author lijie
 * @date 2017-05-08
 */
@Table(name = "system_log")
public class SystemLog extends BaseEntity implements Serializable {
    /**
     * 操作人ID
     */
    @Column(name = "system_user_id")
    private Integer systemUserId;

    /**
     * 操作日志
     */
    private String content;

    /**
     * 状态，0 失败，1 成功
     */
    private Boolean status;

    /**
     * 状态，0 失败，1 成功
     */
    @Column(name = "http_status")
    private Integer httpStatus;

    /**
     * 错误日志
     */
    private String error;

    public Integer getSystemUserId() {
        return systemUserId;
    }

    public void setSystemUserId(Integer systemUserId) {
        this.systemUserId = systemUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Integer getHttpStatus() {
        return httpStatus;
    }

    public void setHttpStatus(Integer httpStatus) {
        this.httpStatus = httpStatus;
    }
}